package ca.llsutherland.nfl.helper;

import ca.llsutherland.nfl.domain.Role;

public class RoleHelper {

	public static Role createNewRole(String roleName) {
		Role role = new Role();
		role.setName(roleName);
		return role;
	}

	public static Role createNewRole(Long roleId, String roleName) {
		Role role = createNewRole(roleName);
		role.setId(roleId);
		return role;
	}

}
